Smush\Core\Modules\Product_Analytics A

Total Complexity 62
Dependencies 3
Dependents 1
Total lines 312
Lines of code 241
Logical lines of code 107
Comment lines 10
Methods 29
Properties 2

Methods 29

Method Rating Maintainability Complexity Lines of code
get_server_type()
S
56 5 19
maybe_track_cdn_update()
S
58 5 16
get_bulk_properties()
S
53 4 23
identify_referrer()
S
55 3 19
remove_unchanged_settings()
S
63 4 10
get_super_properties()
S
58 3 15
track_opt_toggle()
S
69 3 6
intercept_settings_update()
S
64 3 10
maybe_track_feature_toggle()
S
63 3 10
array_has_needle()
S
67 3 8
hook_settings_update_interceptor()
S
61 2 14
hook_actions()
S
63 2 10
track_config_applied()
S
68 2 7
intercept_reset()
S
74 2 5
get_mixpanel()
S
72 2 6
track_feature_toggle()
S
64 2 10
hook_settings_delete_interceptor()
S
69 2 7
prepare_mixpanel_instance()
S
71 1 6
track_lazy_load_feature_toggle()
S
79 1 3
track_cdn_feature_toggle()
S
79 1 3
track_webp_mod_feature_toggle()
S
79 1 3
normalize_url()
S
74 1 4
track_detection_feature_toggle()
S
79 1 3
cdn_property_labels()
S
67 1 8
track_directory_smush()
S
81 1 3
track_bulk_smush_start()
S
79 1 3
get_unique_id()
S
80 1 3
get_token()
S
81 1 3
__construct()
S
77 1 4